<f:if condition="{model.childElements.0}">
	<f:if condition="{model.showElement}">
		<f:then>
			<tr class="csc-form-{model.elementCounter} csc-form-element csc-form-element-{model.elementTypeLowerCase}">
				<td colspan="2">
					<table cellspacing="0" style="padding-left: 20px; margin-bottom: 20px;">
						<f:if condition="{model.additionalArguments.legend}">
							<thead>
								<tr>
									<th colspan="2" align="left">
										{model.additionalArguments.legend}
									</th>
								</tr>
							</thead>
						</f:if>
						<tbody>
							<f:for each="{model.childElements}" as="element">
								<f:render partial="{element.partialPath}" arguments="{model: element}" />
							</f:for>
						</tbody>
					</table>
				</td>
			</tr>
		</f:then>
		<f:else>
			<f:for each="{model.childElements}" as="element">
				<f:render partial="{element.partialPath}" arguments="{model: element}" />
			</f:for>
		</f:else>
	</f:if>
</f:if>